package com.cc.moxingvoice.lock;

import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.view.View;

import com.cc.moxingvoice.base.BaseLock;
import com.cc.moxingvoice.constant.MyUrl;
import com.cc.moxingvoice.databinding.ActivityAboutBinding;

/**
 * 创建日期：2018/2/24 on 18:12
 * 描述：
 * 作者：郭士超
 * QQ：1169380200
 */

public class AboutLock extends BaseLock<ActivityAboutBinding> {

    public AboutLock(Context context, ActivityAboutBinding binding) {
        super(context, binding);
    }

    public AboutLock(Context context, ActivityAboutBinding binding, Bundle bundle) {
        super(context, binding, bundle);
    }

    @Override
    protected void init() {

    }

    public void toYouKu(View view){
        Uri uri = Uri.parse(MyUrl.MY_YOU_KU);
        Intent intent = new Intent(Intent.ACTION_VIEW, uri);
        startActivity(intent);
    }

}
